export const mockSetting = {
  increasing: (field: any) => {
    return {
      [`${field.name}|+1`]: 1,
    };
  },
  name: (field: any) => {
    return {
      [field.name]: "@cname",
    };
  },
  string: (field: any) => {
    const setting = JSON.parse(field.setting);
    return {
      [`${field.name}|${setting.min}-${setting.max}`]: setting.value,
    };
  },
};